package com.xh.bussiness.tiku.service;


import com.xh.bussiness.tiku.bean.dto.QuestionChapterKnowledgeDTO;
import com.xh.bussiness.tiku.bean.request.QuestionChapterRequest;
import com.xh.bussiness.tiku.model.QuestionChapterKnowledge;
import com.xh.core.bean.XhPage;
import com.xh.core.service.IBaseService;

import java.util.List;

/**
 * <p>
 * 试题章节表 服务类
 * </p>
 *
 * @author daiwei
 * @since 2019-01-14
 */
public interface IQuestionChapterKnowledgeService extends IBaseService<QuestionChapterKnowledge> {

    /**
     * 分页查询方法
     * @param page
     * @param bean
     * @return
     */
    public XhPage queryQuestionChapterPage(XhPage page, QuestionChapterRequest bean);

    /**
     * 查询方法
     * @param bean
     * @return
     */
    public List<QuestionChapterKnowledge> queryQuestionChapter(QuestionChapterRequest bean);
    /**
     * 题目id
     * @param questionId
     */
	public void deleteByQuestionId(String questionId);
	
	List<Integer> queryQuestionChapterCount(List<String> questionIds);

    List<QuestionChapterKnowledgeDTO> queryByQuestionId(String questionId);

    void initQuestionChapterKnowledge();
}
